package core;

import java.util.Vector;

public class UVehicle extends Unit
{
	private static final long serialVersionUID = -8752342201734363915L;

	/**
	 * Ballistic skill level of the unit.
	 */
	private int bs;

	/**
	 * Front armor value of the vehicle.
	 */
	private int front;

	/**
	 * Side armor value of the vehicle.
	 */
	private int side;

	/**
	 * Rear armor value of the vehicle.
	 */
	private int rear;

	/**
	 * Constructor for the UVehicle class.
	 * 
	 * @param name
	 * @param bs
	 * @param front
	 * @param side
	 * @param rear
	 */
	public UVehicle(String name, int bs, int front, int side, int rear,
			int pieces, int cost, String type, Vector<Option> options)
	{
		super(name, pieces, cost, type, options);
		this.bs = bs;
		this.front = front;
		this.side = side;
		this.rear = rear;
	}

	public int getBs()
	{
		return bs;
	}

	public int getFront()
	{
		return front;
	}

	public int getSide()
	{
		return side;
	}

	public int getRear()
	{
		return rear;
	}

}
